#ifndef PASSNEARGOAL_BEHAVIOUR_H_
#define PASSNEARGOAL_BEHAVIOUR_H_

#include "../../ModuleInterface.h"
#include "../RunToPositionBehaviour.h"
#include "../InterceptBallBehaviour.h"

/*
	Spravanie brankara v pripade prihravky nachadzajucej sa v blizkosti branky
 */
class PassNearGoalBehaviour : public ModuleInterface
{
	//pouzite moduly spravania
	USE_MODULE(RunToPositionBehaviour)
	USE_MODULE(InterceptBallBehaviour)

public:
	virtual bool Behave();
	bool IsPassNearGoal();
};

#endif /* PASSNEARGOAL_BEHAVIOUR_H_ */
